#include "crossbit/GLOBAL.h"

namespace crossbit {
	XTUint32 GLOBAL::last_exit = 0;

	volatile XTUint32 GLOBAL::return_address = 0;

	TBlock* GLOBAL::tblock_stub = NULL;
	VBlock* GLOBAL::vblock_stub = NULL;
	XTMemAddr GLOBAL::indirect_link_stub[10000];
	XTUint32 GLOBAL::indirect_link_index = 0;
	XTUint8 GLOBAL::BUILD_SUPER_BLOCK = 0;
	XTUint32 GLOBAL::total_mediate = 0;
	XTUint32 GLOBAL::total_call = 0;
	XTUint32 GLOBAL::total_instruction = 0;
	XTUint32 GLOBAL::total_ld_st = 0;
	XTUint32 GLOBAL::total_mem = 0;

	std::map< XTMemAddr, std::vector< XTMemAddr > > GLOBAL::ma_ld_info;
	std::map< XTMemAddr, std::vector< XTMemAddr > > GLOBAL::ma_st_info;
}
